/*     */ package com.cr.common.config;
/*     */ 
/*     */ import org.springframework.boot.context.properties.ConfigurationProperties;
/*     */ import org.springframework.stereotype.Component;
/*     */ 
/*     */ @Component
/*     */ @ConfigurationProperties(prefix = "ruoyi")
/*     */ public class RuoYiConfig {
/*     */   private static String name;
/*     */   
/*     */   private static String version;
/*     */   
/*     */   private static String copyrightYear;
/*     */   
/*     */   private static boolean demoEnabled;
/*     */   
/*     */   private static String profile;
/*     */   
/*     */   private static boolean addressEnabled;
/*     */   
/*     */   public static String getName() {
/*  35 */     return name;
/*     */   }
/*     */   
/*     */   public void setName(String name) {
/*  40 */     RuoYiConfig.name = name;
/*     */   }
/*     */   
/*     */   public static String getVersion() {
/*  45 */     return version;
/*     */   }
/*     */   
/*     */   public void setVersion(String version) {
/*  50 */     RuoYiConfig.version = version;
/*     */   }
/*     */   
/*     */   public static String getCopyrightYear() {
/*  55 */     return copyrightYear;
/*     */   }
/*     */   
/*     */   public void setCopyrightYear(String copyrightYear) {
/*  60 */     RuoYiConfig.copyrightYear = copyrightYear;
/*     */   }
/*     */   
/*     */   public static boolean isDemoEnabled() {
/*  65 */     return demoEnabled;
/*     */   }
/*     */   
/*     */   public void setDemoEnabled(boolean demoEnabled) {
/*  70 */     RuoYiConfig.demoEnabled = demoEnabled;
/*     */   }
/*     */   
/*     */   public static String getProfile() {
/*  75 */     return profile;
/*     */   }
/*     */   
/*     */   public void setProfile(String profile) {
/*  80 */     RuoYiConfig.profile = profile;
/*     */   }
/*     */   
/*     */   public static boolean isAddressEnabled() {
/*  85 */     return addressEnabled;
/*     */   }
/*     */   
/*     */   public void setAddressEnabled(boolean addressEnabled) {
/*  90 */     RuoYiConfig.addressEnabled = addressEnabled;
/*     */   }
/*     */   
/*     */   public static String getImportPath() {
/*  98 */     return getProfile() + "/import";
/*     */   }
/*     */   
/*     */   public static String getAvatarPath() {
/* 106 */     return getProfile() + "/avatar";
/*     */   }
/*     */   
/*     */   public static String getDownloadPath() {
/* 114 */     return getProfile() + "/download/";
/*     */   }
/*     */   
/*     */   public static String getUploadPath() {
/* 122 */     return getProfile() + "/upload";
/*     */   }
/*     */ }


/* Location:              D:\tmp\creditorRights-admin\BOOT-INF\lib\creditorRights-common-4.7.0.jar!\com\cr\common\config\RuoYiConfig.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */